###########################################################################
## Python code generated with wxFormBuilder (version Jun 11 2009)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx

ID_OPEN = 1000
ID_QUIT = 1001

###########################################################################
## Class MainFrameBase
###########################################################################

class MainFrameBase ( wx.Frame ):
	
	def __init__( self, parent ):
		wx.Frame.__init__  ( self, parent, id = wx.ID_ANY, title = u"ToDo", pos = wx.DefaultPosition, size = wx.Size( 478,312 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		self.m_menubar1 = wx.MenuBar( 0 )
		self.m_File = wx.Menu()
		self.m_open = wx.MenuItem( self.m_File, ID_OPEN, u"Open"+ u"\t" + u"O", u"Open xmind document", wx.ITEM_NORMAL )
		self.m_File.AppendItem( self.m_open )
		
		self.m_quit = wx.MenuItem( self.m_File, ID_QUIT, u"Quit"+ u"\t" + u"Q", u"Close this application", wx.ITEM_NORMAL )
		self.m_File.AppendItem( self.m_quit )
		
		self.m_menubar1.Append( self.m_File, u"&File" )
		
		self.SetMenuBar( self.m_menubar1 )
		
		bSizer1 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_todoListCtrl = wx.ListCtrl( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LC_REPORT|wx.LC_SINGLE_SEL )
		bSizer1.Add( self.m_todoListCtrl, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.SetSizer( bSizer1 )
		self.Layout()
		
		# Connect Events
		self.Bind( wx.EVT_CLOSE, self.OnClose )
		self.Bind( wx.EVT_MENU, self.doFileOpen, id = ID_OPEN )
		self.Bind( wx.EVT_MENU, self.doQuit, id = ID_QUIT )
		self.m_todoListCtrl.Bind( wx.EVT_SIZE, self.OnListSizeChanged )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnClose( self, event ):
		event.Skip()
	
	def doFileOpen( self, event ):
		event.Skip()
	
	def doQuit( self, event ):
		event.Skip()
	
	def OnListSizeChanged( self, event ):
		event.Skip()
	

